package com.sun.pojo.entity;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author SunRui
 * @description 权限类
 * @date 2024/10/5 15:55
 */
public class Role implements Serializable {
    @Serial
    private static final long serialVersionUID = -3801899237232503073L;

    private int id; // 权限Id
    private String name; // 权限名称

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
